<!--分类导航-->
<template>
  <div class="fldh">
    <fldh />
    <div class="fldh1">
      <flnr
        v-for="(item, index) in shuju"
        :key="index"
        :src="item.src"
        :title="item.title"
        :sp="item.pf"
        :zz="item.lxzz"
        :pp="item.jj"
      />
    </div>
  </div>
</template>

<script>
import fldh from "bczj/sczj/fl/flzj/fldh.vue";
import flnr from "bczj/sczj/fl/flzj/flnr.vue";

import { homelink } from "@/api/api.js";
export default {
  components: {
    fldh,
    flnr,
  },
  data() {
    return {
      shuju: [],
    };
  },

  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {
    homelink("/fl", "get").then((data) => {
      console.log(data.data.arr);
      this.shuju = data.data.arr;
    });
  },
};
</script>
<style scoped>
.fldh1 {
  padding: 0 0.1rem;
}
img {
  width: 3rem;
}
</style>